Fix Add Python Project via context menu to directly add file/folder#431
Merged
eleanorjboyd merged 4 commits intomainfrom May 22, 2025
Merged
Fix Add Python Project via context menu to directly add file/folder#431eleanorjboyd merged 4 commits intomainfrom
eleanorjboyd merged 4 commits intomainfrom
Conversation
…lder Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Cannot add a proejct via context menu
Fix Add Python Project via context menu to directly add file/folder
May 20, 2025
karthiknadig
approved these changes
May 21, 2025
mjbvz
approved these changes
May 21, 2025
auto-merge was automatically disabled
May 21, 2025 15:35
Pull request was closed
NguyenCuong1989
referenced
this pull request
in NguyenCuong1989/vscode-python-environments
Oct 23, 2025
…#431) ## Issue When right-clicking on a folder or file in the file explorer and selecting "Add Python Project", the extension shows a quick pick menu (Auto Find, Select Existing, Create New) instead of directly adding the selected folder/file to the Python Projects view. This prevents users from easily adding a single file directly. ## Testing Verified that: - Right-clicking on a folder and selecting "Add Python Project" directly adds that folder - Right-clicking on a Python file and selecting "Add Python Project" directly adds that file - Using the "Add Python Project" button in the Python Projects view still shows the quick pick UI Fixes #385. (edit by @eleanorjboyd so it's useful / relevant) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
When right-clicking on a folder or file in the file explorer and selecting "Add Python Project", the extension shows a quick pick menu (Auto Find, Select Existing, Create New) instead of directly adding the selected folder/file to the Python Projects view. This prevents users from easily adding a single file directly.
Testing
Verified that:
Fixes #385. (edit by @eleanorjboyd so it's useful / relevant)